﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataLibrary
{


    public class CPublicId {
        public const String c_orderId = "orderId";
        public const String c_isActive = "isActive";
        protected int m_orderId = 1;

        public int OrderId
        {
            get { return m_orderId; }
            set { m_orderId = value; }
        }
        protected int m_isActive = 1;

        public int IsActive
        {
            get { return m_isActive; }
            set { m_isActive = value; }
        }

    }
    #region "tbl_Nick_Yahoo"
    public class tbl_Nick_Yahoo :CPublicId
    {
       public const  String c_idNick = "idNick";
       public const  String c_Nickname = "Nickname";
       public const String c_Description = "Description";
       public const String c_Phone = "Phone";
       public const String b_TableName = "tbl_Nick_Yahoo";

       private int m_idNick;
       public int IdNick
       {
           get { return m_idNick; }
           set { m_idNick = value; }
       }
       private String m_Nickname="";

       public String Nickname
       {
           get { return m_Nickname; }
           set { m_Nickname = value; }
       }
     
       private String m_Description="";

       public String Description
       {
           get { return m_Description; }
           set { m_Description = value; }
       }

       private String m_Phone = "";

       public String Phone
       {
           get { return m_Phone; }
           set { m_Phone = value; }
       }


       public tbl_Nick_Yahoo() { 

       }
       public tbl_Nick_Yahoo(int id)
       {
           m_idNick = id;
       }
    }

    #endregion


    #region "tbl_Weblink"

    public class tbl_Weblink {
        public const String c_idWeblink = "idWeblink";
        public const String c_Title = "Title";
        public const String c_Url = "Url";
        public const String c_isActive = "isActive";
        public const String b_tbl_Weblink = "tbl_Weblink";

        private int m_idWeblink = -1;

        public int IdWeblink
        {
            get { return m_idWeblink; }
            set { m_idWeblink = value; }
        }
        private String m_Title = String.Empty;

        public String Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }
        private String m_Url = String.Empty;

        public String Url
        {
            get { return m_Url; }
            set { m_Url = value; }
        }

        private int m_isActive = 0;

        public int IsActive
        {
            get { return m_isActive; }
            set { m_isActive = value; }
        }
        public tbl_Weblink() { }
        public tbl_Weblink(int id) {
            m_idWeblink = id;
        }


    }
    #endregion


     #region "tbl_Quangcao"

    public class tbl_Quangcao : CPublicId
    {
        public const String c_idQuangcao = "idQuangcao";
        public const String c_titleQuangcao = "titleQuangcao";
        public const String c_urlQuangcao = "urlQuangcao";
        public const String c_Image = "Image";
        public const String b_tbl_Quangcao = "tbl_Quangcao";

        private int m_idQuangcao = -1;

        public int IdQuangcao
        {
            get { return m_idQuangcao; }
            set { m_idQuangcao = value; }
        }
        private String m_titleQuangcao = "";

        public String TitleQuangcao
        {
            get { return m_titleQuangcao; }
            set { m_titleQuangcao = value; }
        }
        private String m_urlQuangcao = "";

        public String UrlQuangcao
        {
            get { return m_urlQuangcao; }
            set { m_urlQuangcao = value; }
        }
        private String m_Image = "";

        public String Image
        {
            get { return m_Image; }
            set { m_Image = value; }
        }


    }

    #endregion


    #region"tbl_Category"
    public class tbl_Category :CPublicId{

        public const String c_idCat = "idCat";
        public const String c_Description = "Description";
        public const String c_ShowTop = "ShowTop";
        public const String b_tbl_Category = "tbl_Category";
        private int m_idCat = -1;

        public int IdCat
        {
            get { return m_idCat; }
            set { m_idCat = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private Boolean m_ShowTop = false;

        public Boolean ShowTop
        {
            get { return m_ShowTop; }
            set { m_ShowTop = value; }
        }


        public tbl_Category() { }
        public tbl_Category(int id) {
            this.m_idCat = id;
        }

        public tbl_Category(int id, int isActive) {
            this.m_idCat = id;
            this.m_isActive = isActive;
        }

    }

#endregion

    #region"tbl_Category_Lang"
    public class tbl_Category_Lang
    {
        public const String c_idCat = "idCat";
        public const String c_idLang = "idLang";
        public const String c_nameCat = "nameCat";
        public const String c_Url = "Url";
        public const String c_Description = "Description";
        public const String c_idCatLang = "idCatLang";
        public const String b_tbl_Category_Lang = "tbl_Category_Lang";

        private int m_idCat = 1;

        public int IdCat
        {
            get { return m_idCat; }
            set { m_idCat = value; }
        }
        private int m_idLang = 1;

        public int IdLang
        {
            get { return m_idLang; }
            set { m_idLang = value; }
        }
        private String m_nameCat = "";

        public String NameCat
        {
            get { return m_nameCat; }
            set { m_nameCat = value; }
        }
        private String m_Url = "";

        public String Url
        {
            get { return m_Url; }
            set { m_Url = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private int m_idCatLang = -1;

        public int IdCatLang
        {
            get { return m_idCatLang; }
            set { m_idCatLang = value; }
        }

        public tbl_Category_Lang() { }

    }

    #endregion


    #region"tbl_DetailProduct"
    public class tbl_DetailProduct : CPublicId
    {
        public const String c_id = "id";
        public const String c_idProduct = "idProduct";
        public const String c_name = "name";
        public const String c_Description = "Description";
        public const String b_tbl_DetailProduct = "tbl_DetailProduct";

        private int m_id = 1;

        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }
        private int m_idProduct = 1;

        public int IdProduct
        {
            get { return m_idProduct; }
            set { m_idProduct = value; }
        }
        private String m_name = "";

        public String Name
        {
            get { return m_name; }
            set { m_name = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }

        public tbl_DetailProduct() { }

    }
    #endregion


    #region"tbl_Download"
    public class tbl_Download:CPublicId
    {
        public const String c_id = "id";
        public const String c_Title = "Title";
        public const String c_Description = "Description";
        public const String c_Path = "Path";
        public const String c_Image = "Image";
        public const String c_addedDate = "addedDate";
        public const String c_GroupID = "GroupID";
        public const String c_Mota = "Mota";
        public const String b_tbl_Download = "tbl_Download";


        private String m_Mota = "";

        public String Mota
        {
            get { return m_Mota; }
            set { m_Mota = value; }
        }
        private int m_GroupID = 1;

        public int GroupID
        {
            get { return m_GroupID; }
            set { m_GroupID = value; }
        }
        private int m_id = 1;

        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }
        private String m_Title = "";

        public String Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private String m_Path = "";

        public String Path
        {
            get { return m_Path; }
            set { m_Path = value; }
        }
        private String m_Image = "";

        public String Image
        {
            get { return m_Image; }
            set { m_Image = value; }
        }
        private DateTime m_addedDate;

        public DateTime AddedDate
        {
            get { return m_addedDate; }
            set { m_addedDate = value; }
        }

        public tbl_Download() { }

    }
    #endregion


    #region"tbl_Faq"
    public class tbl_Faq : CPublicId
    {
        public const String c_idFaq = "idFaq";
        public const String c_addedDate = "addedDate";
        public const String b_tbl_Faq = "tbl_Faq";

        int m_idFaq = 1;

        public int IdFaq
        {
            get { return m_idFaq; }
            set { m_idFaq = value; }
        }
        DateTime m_addedDate;

        public DateTime AddedDate
        {
            get { return m_addedDate; }
            set { m_addedDate = value; }
        }

        public tbl_Faq() { }

    }
    #endregion

    #region"tbl_Faq_Lang"
    public class tbl_Faq_Lang
    {
        public const String c_idFaq = "idFaq";
        public const String c_idLang = "idLang";
        public const String c_faqQuestion = "faqQuestion";
        public const String c_faqReply = "faqReply";
        public const String c_idFaqLang = "idFaqLang";
        public const String b_tbl_Faq_Lang = "tbl_Faq_Lang";

        private int m_idFaq = 1;

        public int IdFaq
        {
            get { return m_idFaq; }
            set { m_idFaq = value; }
        }
        private int m_idLang = 1;

        public int IdLang
        {
            get { return m_idLang; }
            set { m_idLang = value; }
        }
        private String m_faqQuestion = "faqQuestion";

        public String FaqQuestion
        {
            get { return m_faqQuestion; }
            set { m_faqQuestion = value; }
        }
        private String m_faqReply = "faqReply";

        public String FaqReply
        {
            get { return m_faqReply; }
            set { m_faqReply = value; }
        }
        private int m_idFaqLang = 1;

        public int IdFaqLang
        {
            get { return m_idFaqLang; }
            set { m_idFaqLang = value; }
        }
        

        public tbl_Faq_Lang() { }

    }
    #endregion

    #region"tbl_FunctionProduct"
    public class tbl_FunctionProduct :CPublicId
    {
        public const String c_FunctionID = "FunctionID";
        public const String c_FunctionName = "FunctionName";
        public const String c_DetailContent = "DetailContent";
        public const String c_Title = "Title";
        public const String c_ImageUrlTab = "ImageUrlTab";
        public const String c_Width = "Width";
        public const String c_IsAddControl = "IsAddControl";
        public const String b_tbl_FunctionProduct = "tbl_FunctionProduct";

        private int m_FunctionID = 1;

        public int FunctionID
        {
            get { return m_FunctionID; }
            set { m_FunctionID = value; }
        }
        private String m_FunctionName = "";

        public String FunctionName
        {
            get { return m_FunctionName; }
            set { m_FunctionName = value; }
        }
        private String m_DetailContent = "";

        public String DetailContent
        {
            get { return m_DetailContent; }
            set { m_DetailContent = value; }
        }
        private String m_Title = "";

        public String Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }
        private String m_ImageUrlTab = "";

        public String ImageUrlTab
        {
            get { return m_ImageUrlTab; }
            set { m_ImageUrlTab = value; }
        }
        private int m_Width = 0;

        public int Width
        {
            get { return m_Width; }
            set { m_Width = value; }
        }
        private Boolean m_IsAddControl = false;

        public Boolean IsAddControl
        {
            get { return m_IsAddControl; }
            set { m_IsAddControl = value; }
        }

        public tbl_FunctionProduct() { }

    }

    #endregion

    #region"tbl_Group_Khachhang"
    public class tbl_Group_Khachhang :CPublicId
    {
        public const String c_idGroup = "idGroup";
        public const String c_nameGroup = "nameGroup";
        public const String b_tbl_Group_Khachhang = "tbl_Group_Khachhang";
        private int m_idGroup = 1;

        public int IdGroup
        {
            get { return m_idGroup; }
            set { m_idGroup = value; }
        }
        private String m_nameGroup = "";

        public String NameGroup
        {
            get { return m_nameGroup; }
            set { m_nameGroup = value; }
        }

        public tbl_Group_Khachhang() { }

    }
    #endregion


    #region"tbl_Khachhang"
    public class tbl_Khachhang
    {
        public const String c_idKhachhang = "idKhachhang";
        public const String c_idGroup = "idGroup";
        public const String c_nameKhachhang = "nameKhachhang";
        public const String b_tbl_Khachhang = "tbl_Khachhang";

        private int m_idKhachhang = 1;

        public int IdKhachhang
        {
            get { return m_idKhachhang; }
            set { m_idKhachhang = value; }
        }
        private int m_idGroup = 1;

        public int IdGroup
        {
            get { return m_idGroup; }
            set { m_idGroup = value; }
        }
        private String m_nameKhachhang = "";

        public String NameKhachhang
        {
            get { return m_nameKhachhang; }
            set { m_nameKhachhang = value; }
        }

        public tbl_Khachhang() { }

    }

    #endregion

    #region"tbl_Language"
    public class tbl_Language:CPublicId
    {
        public const String c_idLang = "idLang";
        public const String c_nameLang = "nameLang";
        public const String c_value = "value";
        public const String b_tbl_Language = "tbl_Language";
        private int m_idLang = 1;

        public int IdLang
        {
            get { return m_idLang; }
            set { m_idLang = value; }
        }
        private String m_nameLang = "";

        public String NameLang
        {
            get { return m_nameLang; }
            set { m_nameLang = value; }
        }

        private String m_value = "";

        public String Value
        {
            get { return m_value; }
            set { m_value = value; }
        }
        public tbl_Language() { }

    }

    #endregion

    #region"tbl_Member"
    public class tbl_Member
    {
        public const String c_idMember = "idMember";
        public const String c_ngayDangky = "ngayDangky";
        public const String c_gioitinh = "gioitinh";
        public const String c_hoten = "hoten";
        public const String c_ngaysinh = "ngaysinh";
        public const String c_congty = "congty";
        public const String c_masothue = "masothue";
        public const String c_diachi = "diachi";
        public const String c_quan = "quan";
        public const String c_idTinhthanh = "idTinhthanh";
        public const String c_idQuocgia = "idQuocgia";
        public const String c_dienthoai = "dienthoai";
        public const String c_email = "email";
        public const String c_fax = "fax";
        public const String c_website = "website";
        public const String c_username = "username";
        public const String c_password = "password";
        public const String c_isActive = "isActive";
        public const String b_tbl_Member = "tbl_Member";

        private int m_idMember = 1;

        public int IdMember
        {
            get { return m_idMember; }
            set { m_idMember = value; }
        }
        private DateTime m_ngayDangky;

        public DateTime NgayDangky
        {
            get { return m_ngayDangky; }
            set { m_ngayDangky = value; }
        }
        private Boolean m_gioitinh = false;

        public Boolean Gioitinh
        {
            get { return m_gioitinh; }
            set { m_gioitinh = value; }
        }
        private String m_hoten = "";

        public String Hoten
        {
            get { return m_hoten; }
            set { m_hoten = value; }
        }
        private DateTime m_ngaysinh;

        public DateTime Ngaysinh
        {
            get { return m_ngaysinh; }
            set { m_ngaysinh = value; }
        }
        private String m_congty = "congty";

        public String Congty
        {
            get { return m_congty; }
            set { m_congty = value; }
        }
        private String m_masothue = "masothue";

        public String Masothue
        {
            get { return m_masothue; }
            set { m_masothue = value; }
        }
        private String m_diachi = "diachi";

        public String Diachi
        {
            get { return m_diachi; }
            set { m_diachi = value; }
        }
        private String m_quan = "";

        public String Quan
        {
            get { return m_quan; }
            set { m_quan = value; }
        }
        private int m_idTinhthanh = 1;

        public int IdTinhthanh
        {
            get { return m_idTinhthanh; }
            set { m_idTinhthanh = value; }
        }
        private int m_idQuocgia = 1;

        public int IdQuocgia
        {
            get { return m_idQuocgia; }
            set { m_idQuocgia = value; }
        }
        private String m_dienthoai = "dienthoai";

        public String Dienthoai
        {
            get { return m_dienthoai; }
            set { m_dienthoai = value; }
        }
        private String m_email = "email";

        public String Email
        {
            get { return m_email; }
            set { m_email = value; }
        }
        private String m_fax = "fax";

        public String Fax
        {
            get { return m_fax; }
            set { m_fax = value; }
        }
        private String m_website = "website";

        public String Website
        {
            get { return m_website; }
            set { m_website = value; }
        }
        private String m_username = "username";

        public String Username
        {
            get { return m_username; }
            set { m_username = value; }
        }
        private String m_password = "password";

        public String Password
        {
            get { return m_password; }
            set { m_password = value; }
        }
        private int m_isActive = 0;

        public int IsActive
        {
            get { return m_isActive; }
            set { m_isActive = value; }
        }

        public tbl_Member() { }

    }

    #endregion

    #region"tbl_News"
    public class tbl_News :CPublicId
    {
        public const String c_idNew = "idNew";
        public const String c_idCat = "idCat";
        public const String c_addedDate = "addedDate";
        public const String c_imageNew = "imageNew";
        public const String c_Description = "Description";
        public const String c_isTindacbiet = "isTindacbiet";
        public const String c_isAuto = "isAuto";
        public const String c_IdTrangThai = "IdTrangThai";
        public const String b_tbl_News = "tbl_News";

        private int m_IdTrangThai = 2;

        public int IdTrangThai
        {
            get { return m_IdTrangThai; }
            set { m_IdTrangThai = value; }
        }
        private int m_idNew = 1;

        public int IdNew
        {
            get { return m_idNew; }
            set { m_idNew = value; }
        }
        private int m_idCat = 1;

        public int IdCat
        {
            get { return m_idCat; }
            set { m_idCat = value; }
        }
        private DateTime m_addedDate;

        public DateTime AddedDate
        {
            get { return m_addedDate; }
            set { m_addedDate = value; }
        }
        private String m_imageNew = "";

        public String ImageNew
        {
            get { return m_imageNew; }
            set { m_imageNew = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private Boolean m_isTindacbiet = false;

        public Boolean IsTindacbiet
        {
            get { return m_isTindacbiet; }
            set { m_isTindacbiet = value; }
        }
        private Boolean m_isAuto = false;

        public Boolean IsAuto
        {
            get { return m_isAuto; }
            set { m_isAuto = value; }
        }

        public tbl_News() { }
        public tbl_News(int id) {
            m_idNew = id;
        }

        public tbl_News(int id, int isActive) {
            this.m_idNew = id;
            this.m_isActive = isActive;
        }
    }

    #endregion

    #region"tbl_News_Lang"
    public class tbl_News_Lang
    {
        public const String c_idNew = "idNew";
        public const String c_idLang = "idLang";
        public const String c_titleNew = "titleNew";
        public const String c_introNew = "introNew";
        public const String c_bodyNew = "bodyNew";
        public const String c_idNewLang = "idNewLang";
        public const String b_tbl_News_Lang = "tbl_News_Lang";

        private int m_idNew = 1;

        public int IdNew
        {
            get { return m_idNew; }
            set { m_idNew = value; }
        }
        private int m_idLang = 1;

        public int IdLang
        {
            get { return m_idLang; }
            set { m_idLang = value; }
        }
        private String m_titleNew = "";

        public String TitleNew
        {
            get { return m_titleNew; }
            set { m_titleNew = value; }
        }
        private String m_introNew = "";

        public String IntroNew
        {
            get { return m_introNew; }
            set { m_introNew = value; }
        }
        private String m_bodyNew = "";

        public String BodyNew
        {
            get { return m_bodyNew; }
            set { m_bodyNew = value; }
        }
        private int m_idNewLang = 1;

        public int IdNewLang
        {
            get { return m_idNewLang; }
            set { m_idNewLang = value; }
        }

        public tbl_News_Lang() { }

    }

    #endregion

    #region"tbl_Order"
    public class tbl_Order
    {

        public tbl_Order() { }

    }

    #endregion

    #region"tbl_Permission"
    public class tbl_Permission
    {
        public tbl_Permission() { }

    }

    #endregion

    #region"tbl_Permission_User"
    public class tbl_Permission_User
    {
        public tbl_Permission_User() { }

    }

    #endregion

    #region"tbl_Product"
    public class tbl_Product :CPublicId
    {
        public const String c_idProduct = "idProduct";
        public const String c_imageProduct = "imageProduct";
        public const String c_Description = "Description";
        public const String c_Path = "Path";
        public const String b_tbl_Product = "tbl_Product";

        private int m_idProduct = 1;

        public int IdProduct
        {
            get { return m_idProduct; }
            set { m_idProduct = value; }
        }
        private String m_imageProduct = "imageProduct";

        public String ImageProduct
        {
            get { return m_imageProduct; }
            set { m_imageProduct = value; }
        }
        private String m_Description = "Description";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private String m_Path = "";

        public String Path
        {
            get { return m_Path; }
            set { m_Path = value; }
        }
        public tbl_Product() { }

    }

    #endregion

    public class CLang {
        public const String c_idLang = "idLang";
        private int m_idLang = 1;

        public int IdLang
        {
            get { return m_idLang; }
            set { m_idLang = value; }
        }
        public CLang() { 
        }
    }

    #region"tbl_Product_Lang"
    public class tbl_Product_Lang :CLang
    {
        public const String c_idProduct = "idProduct";
        public const String c_nameProduct = "nameProduct";
        public const String c_introProduct = "introProduct";
        public const String c_Description = "Description";
        public const String c_idProductLang = "idProductLang";
        public const String c_Price = "Price";
        public const String b_tbl_Product_Lang = "tbl_Product_Lang";

        private int m_idProduct = 1;

        public int IdProduct
        {
            get { return m_idProduct; }
            set { m_idProduct = value; }
        }
        private String m_nameProduct = "";

        public String NameProduct
        {
            get { return m_nameProduct; }
            set { m_nameProduct = value; }
        }
        private String m_introProduct = "";

        public String IntroProduct
        {
            get { return m_introProduct; }
            set { m_introProduct = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private int m_idProductLang =1;

        public int IdProductLang
        {
            get { return m_idProductLang; }
            set { m_idProductLang = value; }
        }
        private Decimal m_Price = 0;

        public Decimal Price
        {
            get { return m_Price; }
            set { m_Price = value; }
        }


        public tbl_Product_Lang() { }

    }

    #endregion


    #region"tbl_Auto"
    public class tbl_Auto 
    {
        public  const string c_url = "URL";
        public const string c_Pubdate = "Pubdate";
        public const string c_Title = "Title";
        public const string c_Content = "Content";
        public const string c_Id = "Id";
        public const string c_WebsiteId = "WebsiteId";
        public const string c_Description = "Description";
        public const String b_tbl_News = "tbl_Auto";

        private string m_url = "";

        public string Url
        {
            get { return m_url; }
            set { m_url = value; }
        }
        private DateTime m_Pubdate = DateTime.Now;

        public DateTime Pubdate
        {
            get { return m_Pubdate; }
            set { m_Pubdate = value; }
        }
        private String m_Title = "";

        public String Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }
        private string m_Content = "";

        public string Content
        {
            get { return m_Content; }
            set { m_Content = value; }
        }
        private int m_Id = 1;

        public int Id
        {
            get { return m_Id; }
            set { m_Id = value; }
        }
        private int m_WebsiteId = 1;

        public int WebsiteId
        {
            get { return m_WebsiteId; }
            set { m_WebsiteId = value; }
        }
        private string m_Description = "";

        public string Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }

        public tbl_Auto() { }
    }

    #endregion

    #region"tbl_website"
    public class tbl_website {
        public const string c_Id = "Id";
        public const string c_Website = "Website";
        public const string c_Xpath = "Xpath";
        public const string b_tbl_website = "tbl_website";

        private int m_Id = 1;

        public int Id
        {
            get { return m_Id; }
            set { m_Id = value; }
        }
        private string m_Website = "";

        public string Website
        {
            get { return m_Website; }
            set { m_Website = value; }
        }
        private string m_Xpath = "";

        public string Xpath
        {
            get { return m_Xpath; }
            set { m_Xpath = value; }
        }

        
        public tbl_website() { }

    }
    #endregion

   #region"tbl_List"

    public class tbl_List {

        public tbl_List() { }

    }
    #endregion


    #region "tbl_Support"

    public class tbl_Support {
        public const String c_idSupport = "idSupport";
        public const String c_addedDate = "addedDate";
        public const String c_idMember = "idMember";
        public const String c_hoten = "hoten";
        public const String c_email = "email";
        public const String c_congty = "congty";
        public const String c_diachi = "diachi";
        public const String c_bodyQuestion = "bodyQuestion";
        public const String c_bodyReply = "bodyReply";
        public const String c_isTraloi = "isTraloi";
        public const String c_masothue = "masothue";
        public const String c_isActive = "isActive";
        public const String b_tbl_Support = "tbl_Support";

        private int m_idSupport = 1;

        public int IdSupport
        {
            get { return m_idSupport; }
            set { m_idSupport = value; }
        }
        private DateTime m_addedDate = DateTime.Now;

        public DateTime AddedDate
        {
            get { return m_addedDate; }
            set { m_addedDate = value; }
        }
        private int m_idMember = 1;

        public int IdMember
        {
            get { return m_idMember; }
            set { m_idMember = value; }
        }
        private String m_hoten = "";

        public String Hoten
        {
            get { return m_hoten; }
            set { m_hoten = value; }
        }
        private String m_email = "";

        public String Email
        {
            get { return m_email; }
            set { m_email = value; }
        }
        private String m_congty = "";

        public String Congty
        {
            get { return m_congty; }
            set { m_congty = value; }
        }
        private String m_diachi = "";

        public String Diachi
        {
            get { return m_diachi; }
            set { m_diachi = value; }
        }
        private String m_bodyQuestion = "";

        public String BodyQuestion
        {
            get { return m_bodyQuestion; }
            set { m_bodyQuestion = value; }
        }
        private String m_bodyReply = "";

        public String BodyReply
        {
            get { return m_bodyReply; }
            set { m_bodyReply = value; }
        }
        private Boolean m_isTraloi = false;

        public Boolean IsTraloi
        {
            get { return m_isTraloi; }
            set { m_isTraloi = value; }
        }
        private String m_masothue = "";

        public String Masothue
        {
            get { return m_masothue; }
            set { m_masothue = value; }
        }
        private int m_isActive = 1;

        public int IsActive
        {
            get { return m_isActive; }
            set { m_isActive = value; }
        }

    }
   #endregion

#region "tbl_User"
    public class tbl_User {
        public const String c_idUser = "idUser";
        public const String c_nameUser = "nameUser";
        public const String c_emailUser = "emailUser";
        public const String c_passwordUser = "passwordUser";
        public const String c_lastLoginUser = "lastLoginUser";
        public const String c_isActive = "isActive";
        public const String b_tbl_User = "tbl_User";

        private int m_isActive = 1;

        public int IsActive
        {
            get { return m_isActive; }
            set { m_isActive = value; }
        }
        private int m_idUser = 1;

        public int IdUser
        {
            get { return m_idUser; }
            set { m_idUser = value; }
        }
        private String m_nameUser = "";

        public String NameUser
        {
            get { return m_nameUser; }
            set { m_nameUser = value; }
        }
        private String m_emailUser = "";

        public String EmailUser
        {
            get { return m_emailUser; }
            set { m_emailUser = value; }
        }
        private String m_passwordUser = "";

        public String PasswordUser
        {
            get { return m_passwordUser; }
            set { m_passwordUser = value; }
        }
        private DateTime m_lastLoginUser=DateTime.Now;

        public DateTime LastLoginUser
        {
            get { return m_lastLoginUser; }
            set { m_lastLoginUser = value; }
        }


    }
#endregion

#region" tbl_TopUrl"
    public class tbl_TopUrl {
        public const String c_id = "id";
        public const String c_Url = "Url";
        public const String c_topUrl = "topUrl";
        public const String c_topText = "topText";
        public const String c_content_title = "content_title";
        public const String b_tbl_TopUrl = "tbl_TopUrl";
        
        private int m_id = 1;

        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }
        private String m_Url = "";

        public String Url
        {
            get { return m_Url; }
            set { m_Url = value; }
        }
        private String m_topUrl = "";

        public String TopUrl
        {
            get { return m_topUrl; }
            set { m_topUrl = value; }
        }
        private String m_topText = "";

        public String TopText
        {
            get { return m_topText; }
            set { m_topText = value; }
        }
        private String m_content_title = "";

        public String Content_title
        {
            get { return m_content_title; }
            set { m_content_title = value; }
        }

       

        public tbl_TopUrl() { }
    }


#endregion
 #region" tbl_Tabs"
    public class tbl_Tabs {
        public const String c_id = "id";
        public const String c_TabUrl = "TabUrl";
        public const String c_TabText = "TabText";
        public const String b_tbl_Tabs = "tbl_Tabs";

        private int m_id = 1;

        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }
        private String m_TabUrl = "";

        public String TabUrl
        {
            get { return m_TabUrl; }
            set { m_TabUrl = value; }
        }
        private String m_TabText = "";

        public String TabText
        {
            get { return m_TabText; }
            set { m_TabText = value; }
        }

        public tbl_Tabs() { }

    }
#endregion


#region "tbl_Hotro"
    public class tbl_Hotro : CPublicId {
        public const String c_id = "id";
        public const String c_Title = "Title";
        public const String c_Description = "Description";
        public const String c_Url = "Url";
        public const String c_Image = "Image";
        public const String c_IdTable = "IdTable";
        public const String b_tbl_Hotro = "tbl_Hotro";//IdTable

        private String m_IdTable ="";

        public String IdTable
        {
            get { return m_IdTable; }
            set { m_IdTable = value; }
        }
        private int m_id = 1;

        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }
        private String m_Title = "";

        public String Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }
        private String m_Description = "";

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }
        private String m_Url = "";

        public String Url
        {
            get { return m_Url; }
            set { m_Url = value; }
        }
        private String m_Image = "";

        public String Image
        {
            get { return m_Image; }
            set { m_Image = value; }
        }

        public tbl_Hotro() { }
    }

#endregion

#region "tbl_YKienKhachHang"
    public class tbl_YKienKhachHang :CPublicId{
        public const String c_IDRow = "IDRow";
        public const String c_HoVaTen = "HoVaTen";
        public const String c_Hinh = "Hinh";
        public const String c_ChucVu = "ChucVu";
        public const String c_CongTy = "CongTy";
        public const String c_NoiDung = "NoiDung";
        public const String b_tbl_YKienKhachHang = "tbl_YKienKhachHang";

        private int m_IDRow = 1;

        public int IDRow
        {
            get { return m_IDRow; }
            set { m_IDRow = value; }
        }
        private String m_HoVaTen = "";

        public String HoVaTen
        {
            get { return m_HoVaTen; }
            set { m_HoVaTen = value; }
        }
        private String m_Hinh = "";

        public String Hinh
        {
            get { return m_Hinh; }
            set { m_Hinh = value; }
        }
        private String m_ChucVu = "";

        public String ChucVu
        {
            get { return m_ChucVu; }
            set { m_ChucVu = value; }
        }
        private String m_CongTy = "";

        public String CongTy
        {
            get { return m_CongTy; }
            set { m_CongTy = value; }
        }
        private String m_NoiDung = "";

        public String NoiDung
        {
            get { return m_NoiDung; }
            set { m_NoiDung = value; }
        }


    }
#endregion ""
    #region "tbl_CatTags"

    public class tbl_CatTags {
        public const String c_IdCat = "IdCat";
        public const String c_CatName = "CatName";
        public const String c_IdMenu = "IdMenu";
        public const String c_Menu = "Menu";
        public const String b_tbl_CatTags = "tbl_CatTags";
        private int m_IdCat = 1;
        private String m_Menu = "";

        public String Menu
        {
            get { return m_Menu; }
            set { m_Menu = value; }
        }
        public int IdCat
        {
            get { return m_IdCat; }
            set { m_IdCat = value; }
        }
        private String m_CatName = String.Empty;

        public String CatName
        {
            get { return m_CatName; }
            set { m_CatName = value; }
        }
        private int m_IdMenu = 1;

        public int IdMenu
        {
            get { return m_IdMenu; }
            set { m_IdMenu = value; }
        }

        public tbl_CatTags() { 
        }
        ~tbl_CatTags() { }

    }
#endregion
    #region "tbl_DetailCate"
    public class tbl_DetailCate :CPublicId{
        public const String c_IdCat = "IdCat";
        public const String c_IdDetail = "IdDetail";
        public const String c_IdLang = "IdLang";
        public const String c_Title = "Title";
        public const String c_Description = "Description";
        public const String b_tbl_DetailCate = "tbl_DetailCate";
        private int m_IdCat = 1;

        public int IdCat
        {
            get { return m_IdCat; }
            set { m_IdCat = value; }
        }
        private int m_IdDetail = 1;

        public int IdDetail
        {
            get { return m_IdDetail; }
            set { m_IdDetail = value; }
        }
        private int m_IdLang = 1;

        public int IdLang
        {
            get { return m_IdLang; }
            set { m_IdLang = value; }
        }
        private String m_Title = String.Empty;

        public String Title
        {
            get { return m_Title; }
            set { m_Title = value; }
        }
        private String m_Description = String.Empty;

        public String Description
        {
            get { return m_Description; }
            set { m_Description = value; }
        }


    }
#endregion
}
